Add or Remove Ports in a VLAN
Add or remove the ports in a VLAN to configure the ports in the VLAN.
Procedure
Example
Add ports in a VLAN:
Switch(config-if)# vlan members add 1 1/2 static
Remove ports in a VLAN:
Switch(config-if)# vlan members remove 1 1/2 notallowed
Variable Definitions
Use the data in the following table to use the vlan members add and vlan members remove commands.
Variable |
Value |
---|---|
<1-4059> |
Specifies the VLAN ID in the range of 1 to 4059. By default, VLAN IDs 1 to 4059 are configurable and the system reserves VLAN IDs 4060 to 4094 for internal use. On switches that support the vrf-scaling and spbm-config-mode boot configuration flags, if you enable these flags, the system also reserves VLAN IDs 3500 to 3998. VLAN ID 1 is the default VLAN and you cannot create or delete VLAN ID 1. |
{slot/port[/sub-port][-slot/port[/sub-port]][,...][slot/all][all]} |
Identifies the
slot and port in one of the following formats:
|
portmember |
Configures the port type as port member. |